#ifndef TABLAITEMDELEGATE_H
#define TABLAITEMDELEGATE_H

#include <QStyledItemDelegate>
#include "formateadortabla.h"

class TablaItemDelegate : public QStyledItemDelegate
{
public:
    TablaItemDelegate(Formateador* formateador, QObject *parent = NULL);

    virtual QString displayText(const QVariant& value, const QLocale& locale) const;

private:
    Formateador* formateador;
};


#endif // TABLAITEMDELEGATE_H
